//
// Created by LiuYou on 2021/11/23.
//

#ifndef LY_GIT3_LOG_HPP
#define LY_GIT3_LOG_HPP


#include <string>
#include <ostream>


class Log {
public:
    friend std::ostream& operator<<(std::ostream& os, const Log& log) {
        os << "name: " << log.name;
        return os;
    }

public:
//    explicit Log(const std::string& name);
//
//    explicit Log(std::string&& name);

    explicit Log(std::string name);

private:
    std::string name;


};


#endif //LY_GIT3_LOG_HPP
